package com.javase.algorithm.utils;

/**
 * @Description: XXX
 * @author: li yanhao
 * @eamil: liyanhao@timeforward.cn
 * @date:2022/6/24 18:16
 */
public class Utils {
    public static void printMatrix(int[][] arr) {
        for (int i = 0; i < arr.length; i++) {
            int length = arr[i].length;
            for (int j = 0; j < length; j++) {
                System.out.print(arr[i][j]);
                System.out.print(" ");
            }
            System.out.println();
        }
    }
}
